package com.stupidzhe.vbreview.dao;

import com.stupidzhe.vbreview.domain.ProjectClassRecord;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ProjectClassRecordMapper {
    ProjectClassRecord selectByPrimaryKey(Integer recordId);

    int insert(ProjectClassRecord projectClassRecord);

    int insertSelective(ProjectClassRecord projectClassRecord);

    int updateByPrimaryKey(ProjectClassRecord projectClassRecord);

    int updateByPrimaryKeySelective(ProjectClassRecord projectClassRecord);

    List<ProjectClassRecord> selectByProjectId(@Param("projectId") Integer projectId, @Param("status") String status);

    ProjectClassRecord selectClassIdAndProjectId(@Param("classId") Integer classId, @Param("projectId") Integer projectId);
}
